﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.Sim.Company.Company
{
    /// <summary>
    /// 公司信息
    /// </summary>
    public class CompanyRequestDto
    {
        /// <summary>
        /// 公司名称
        /// </summary>
        [Display(Name = "公司名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        [StringLength(50, MinimumLength = 2, ErrorMessage = "{0} 最少2个字，最多50个字")]
        public string CompanyName { get; set; }
        /// <summary>
        /// 公司业务类型
        /// </summary>
        [Display(Name = "公司业务类型")]
        public string BusinessType { get; set; }
        /// <summary>
        /// 公司负责人Id
        /// </summary>
        [Display(Name = "公司负责人")]
        public long CompanyAdminId { get; set; }
        /// <summary>
        /// 公司负责人
        /// </summary>
        [Display(Name = "公司负责人")]
        [Required(ErrorMessage = "请选择 {0}")]
        public string CompanyAdminName { get; set; }
        /// <summary>
        /// 公司成立时间
        /// </summary>
        [Display(Name = "公司成立时间")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 公司运营状态
        /// </summary>
        [Display(Name = "公司运营状态")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public CompanyStatus CompanyStatus { get; set; }
        /// <summary>
        /// 营业执照
        /// </summary>
        [Display(Name = "营业执照")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string BusinessLicense { get; set; }
        /// <summary>
        /// 社会统一代码
        /// </summary>
        [Display(Name = "社会统一代码")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string BusinessLicenseNo { get; set; }
        /// <summary>
        /// 对公账户卡号
        /// </summary>
        [Display(Name = "对公账户卡号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CompanyFinanceNo { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        [Display(Name = "公司地址")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CompanyAddress { get; set; }
        /// <summary>
        /// 公司电话
        /// </summary>
        [Display(Name = "公司电话")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CompanyPhone { get; set; }
        /// <summary>
        /// 开户行名称
        /// </summary>
        [Display(Name = "开户行名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string BankName { get; set; }
        /// <summary>
        /// 对公账户照片
        /// </summary>
        [Display(Name = "对公账户照片")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CompanyFinanceAddress { get; set; }

    }
}
